package cfca.seal.common;

public class Constants
{
  public static final String DEFAULT_CHARSET = "UTF-8";
  public static final String PROTEST_KEY = "1l10OO0O01lll1l1";
  public static final String TRUSTER_DIR = "cert";
  public static final String CRL_DIR = "crl";
  public static final String ARCHIVE_DIR = "archive";
  public static final String SERVER_TRUSTER_PATH = "trustCert.p7b";
  public static final String SEAL_DIR = "seal";
  public static final String DB_FILENAME = "sqlite.db";
  public static final String SYS_CONFIG_PATH = "sys.ini";
  public static final String FONT_DIR = "fonts";
  public static final String FONT_CONFIG_PATH = "simsun.ttc";
  public static final String QR_CODE_CERT_DIR = "QRCodeCert";
  public static final String QR_CODE_CERT_SM2_PATH = "doublecer1_Encrypt.SM2";
  public static final String QR_CODE_CERT_PFX_PATH = "RSA.pfx";
  public static final String IDENTIFICATION_TYPE_PATH = "identificationType.properties";
  public static final String COMMA = ",";
  public static final String POSTIVEINTEGER = "+";
  public static final String SIGN_ALG_RSA = "SHA1RSA";
  public static final String SIGN_ALG_SM2 = "SM3SM2";
  public static final int SEAL_STATUS_VALID = 1;
  public static final int SEAL_STATUS_INVALID = 0;
  public static final String SEAL_STATUS_VALID_MESSAGE = "启用";
  public static final String SEAL_STATUS_INVALID_MESSAGE = "禁用";
  public static final String DATABASE_TYPE_ORACLE = "oracle";
  public static final String DATABASE_TYPE_MYSQL = "mysql";
  public static final String DATABASE_TYPE_SQLITE = "sqlite";
  public static final String DATABASE_TYPE_DB2 = "db2";
  public static final String SEAL_TYPE_BLANKSIGNATURE = "1";
  public static final String SEAL_TYPE_LOCATION = "2";
  public static final String SEAL_TYPE_KEYWORD = "3";
  public static final int OPERATION_RESULT_FAIL = 10;
  public static final int OPERATION_RESULT_SUCCESS = 20;
  public static final String OPERATION_RESULT_FAIL_MESSAGE = "操作失败";
  public static final String OPERATION_RESULT_SUCCESS_MESSAGE = "操作成功";
  public static final String SEAL_CERT_STATUS_NEW = "0";
  public static final String SEAL_CERT_STATUS_P10 = "1";
  public static final String SEAL_CERT_STATUS_VALID = "2";
  public static final int CERT_TYPE_NOCERT = -1;
  public static final int CERT_TYPE_SOFT_PFX = 0;
  public static final int CERT_TYPE_INNER_HARD = 1;
  public static final int CERT_TYPE_INNER_SOFT = 2;
  public static final String WEB_SYS = "web_sys";
  public static final String SERVICE_SYS = "service_sys";
  public static final int SEAL_MODEL_CIRCLE = 0;
  public static final int SEAL_MODEL_SQUARE = 1;
  public static final int SEAL_MODEL_RECTANGLE = 2;
  public static final int SEAL_MODEL_DOUBLE_CIRCLE = 3;
  public static final String IMAGE_SHAPE_SQUARE = "1";
  public static final String IMAGE_SHAPE_CIRCLE = "2";
  public static final String IMAGE_SHAPE_RECTANGLE = "3";
  public static final String SEAL_MODEL_COLOR_RED = "red";
  public static final String SEAL_MODEL_COLOR_BLUE = "blue";
  public static final int KEY_TYPE_RSA = 1;
  public static final int KEY_TYPE_SM2 = 2;
  public static final int VERIFY_TYPE_SIGN = 0;
  public static final int VERIFY_TYPE_CERT_VALID = 1;
  public static final int VERIFY_TYPE_CERT_CHAIN = 2;
  public static final int VERIFY_TYPE_CERT_CRL = 3;
  public static final String LOG_INSERT_MSG = "增加";
  public static final String LOG_DELETE_MSG = "删除";
  public static final String LOG_UPDATE_MSG = "修改";
  public static final String LOG_SEAL_MSG = "签章";
  public static final String LOG_LOGIN_MSG = "登录";
  public static final String LOG_PRODUCE_P10_MSG = "产生P10";
  public static final String LOG_IMPORT_P10_MSG = "导入服务器证书";
  public static final String LOG_BIND_SEAL_MSG = "绑定用户";
  public static final int PAGE_SIZE = 20;
  public static final String OFFICE_WORD_SEAL_TYPE_HIDDEN_FIELD = "hiddenField";
  public static final String OFFICE_WORD_SEAL_TYPE_CONFIRM_SIGNATURE = "ConfirmSignature";
  public static final String OFFICE_WORD_SEAL_TYPE_STAMPER_IMAGE_CONFIRM_SIGNATURE = "StamperImageConfirmSignature";
}